home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / m / irist.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  4.6 KB  |  133 lines

  1. /* machine description file for Silicon Graphics Iris 2500 Turbos;
  2.    also possibly for non-turbo Irises with system release 2.5.
  3.    Copyright (C) 1985, 1986 Free Software Foundation, Inc.
  4.  
  5. This file is part of GNU Emacs.
  6.  
  7. GNU Emacs is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2, or (at your option)
  10. any later version.
  11.  
  12. GNU Emacs is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with GNU Emacs; see the file COPYING.  If not, write to
  19. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  20.  
  21. /* Synched up with: FSF 19.29. */
  22.  
  23. /* The following line tells the configuration script what sort of 
  24.    operating system this machine is likely to run.
  25.    USUAL-OPSYS="note"
  26. NOTE-START
  27. Version 18 said to work; use -opsystem=irist3-5 for system version 2.5
  28. and -opsystem=iris3-6 for system versions 3.6 and up.
  29. NOTE-END */
  30.  
  31. #if 0
  32.   Message-Id: <8705050653.AA20004@orville.arpa>
  33.   Subject: gnu emacs 18.41 on iris [23].5 machines
  34.   Date: 04 May 87 23:53:11 PDT (Mon)
  35.   From: raible@orville.arpa
  36.  
  37.   Aside from the SIGIOT, I know of only one bug, a real strange one:
  38.   I wrote a utimes interface, which copies elements from timevals
  39.   to utimbufs. This code is known good.  The problem is that in
  40.   emacs, the utime doesn't seem to take effect (i.e. doesn't change the
  41.   dates at all) unless I call report_file_error *after* the utime returns!
  42.  
  43.     if (utime (name, &utb) < 0)
  44.       return;
  45.     else
  46.       /* XXX XXX XXX */
  47.       /* For some reason, if this is taken out, then the utime above breaks! */
  48.       /* (i.e. it doesn't set the time. This just makes no sense... */
  49.       /* Eric - May 4, 1987 */
  50.       report_file_error ("Worked just find\n", Qnil);
  51.  
  52.   Without any sort of debugger that works on emacs (I know... but I don't have
  53.   *time* right now to start with gdb), it was quite time consuming to track
  54.   it down to this.
  55.  
  56.   But since this code is only used for an optional 4th argument to one command
  57.   (copy-file), it would say that it is non-critical...
  58. #endif /* 0 */
  59.  
  60. /* Define WORD_MACHINE if addresses and such have
  61.  * to be corrected before they can be used as byte counts.  */
  62.  
  63. /* #define WORD_MACHINE */
  64.  
  65. /* Now define a symbol for the cpu type, if your compiler
  66.    does not define it automatically:
  67.    Ones defined so far include vax, m68000, ns16000, pyramid,
  68.    orion, tahoe, APOLLO and many others */
  69.  
  70. #ifndef m68000
  71. #define m68000
  72. #endif
  73.  
  74. /* Use type int rather than a union, to represent Lisp_Object */
  75. /* This is desirable for most machines.  */
  76.  
  77. #define NO_UNION_TYPE
  78.  
  79. /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
  80.    the bit field into an int.  In other words, if bit fields
  81.    are always unsigned.
  82.  
  83.    If you use NO_UNION_TYPE, this flag does not matter.  */
  84.  
  85. #define EXPLICIT_SIGN_EXTEND
  86.  
  87. /* Data type of load average, as read out of kmem.  */
  88.  
  89. #define LOAD_AVE_TYPE long
  90.  
  91. /* Convert that into an integer that is 100 for a load average of 1.0  */
  92.  
  93. #define FSCALE 1.0
  94. #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
  95.  
  96. /* Define CANNOT_DUMP on machines where unexec does not work.
  97.    Then the function dump-emacs will not be defined
  98.    and temacs will do (load "loadup") automatically unless told otherwise.  */
  99.  
  100. /* #define CANNOT_DUMP */
  101.  
  102. /* Define VIRT_ADDR_VARIES if the virtual addresses of
  103.    pure and impure space as loaded can vary, and even their
  104.    relative order cannot be relied on.
  105.  
  106.    Otherwise Emacs assumes that text space precedes data space,
  107.    numerically.  */
  108.  
  109. /* #define VIRT_ADDR_VARIES */
  110.  
  111. /* Define C_ALLOCA if this machine does not support a true alloca
  112.    and the one written in C should be used instead.
  113.    Define HAVE_ALLOCA to say that the system provides a properly
  114.    working alloca function and it should be used.
  115.    Define neither one if an assembler-language alloca
  116.    in the file alloca.s should be used.  */
  117.  
  118. /* #define C_ALLOCA */
  119. #define HAVE_ALLOCA
  120.  
  121. /* Define NO_REMAP if memory segmentation makes it not work well
  122.    to change the boundary between the text section and data section
  123.    when Emacs is dumped.  If you define this, the preloaded Lisp
  124.    code will not be sharable; but that's better than failing completely.  */
  125.  
  126. /* #define NO_REMAP */
  127.  
  128. /* There is an inconsistency between the sgi assembler, linker which barfs
  129.    on these. */
  130.  
  131. #define internal_with_output_to_temp_buffer    stupid_long_name1
  132. #define Finsert_abbrev_table_description    stupid_long_name2
  133.